<?php /* Smarty version 2.6.14, created on 2012-11-01 15:12:12
         compiled from admin_video_utilities.tpl */
?><?php
SELanguage::_preload_multi(5500159,5500160,5500161,5500162,5500163,5500164,5500165,5500166,5500174,5500167,5500168,5500169,5500170,5500171,5500172);
SELanguage::load();
?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<h2><?php echo SELanguage::_get(5500159); ?></h2>
<?php echo SELanguage::_get(5500160); ?>
<br />
<br />

<b><a href='admin_video_utilities.php?task=version'><?php echo SELanguage::_get(5500161); ?></a></b>
<br />
<?php echo SELanguage::_get(5500162); ?>
<br />
<br />

<b><a href='admin_video_utilities.php?task=formats'><?php echo SELanguage::_get(5500163); ?></a></b>
<br />
<?php echo SELanguage::_get(5500164); ?>
<br />
<br />

<b><?php if ($this->_tpl_vars['log_browser_enabled']): ?><a href='admin_video_utilities.php?task=logbrowse'><?php endif; 
 echo SELanguage::_get(5500165); 
 if ($this->_tpl_vars['log_browser_enabled']): ?></a><?php endif; ?></b>
<br />
<?php echo SELanguage::_get(5500166); 
 if (! $this->_tpl_vars['log_browser_enabled']): ?> (<?php echo SELanguage::_get(5500174); ?>)<?php endif; ?>
<br />
<br />


<?php if ($this->_tpl_vars['task'] == 'version'): ?>

  <h2><?php echo SELanguage::_get(5500167); ?></h2>
  
  <textarea style="width:100%; height:600px;"><?php echo $this->_tpl_vars['version_output']; ?>
</textarea>

<?php elseif ($this->_tpl_vars['task'] == 'formats'): ?>

  <h2><?php echo SELanguage::_get(5500168); ?></h2>
  <p><?php echo SELanguage::_get(5500169); ?></p>
  
  <textarea style="width:100%; height:600px;"><?php echo $this->_tpl_vars['format_output']; ?>
</textarea>

<?php elseif ($this->_tpl_vars['task'] == 'logbrowse'): ?>

  <h2><?php echo SELanguage::_get(5500165); ?></h2>
  
  <div style="border:1px solid #aaaaaa; padding:15px;">
  
  <?php unset($this->_sections['log_loop']);
$this->_sections['log_loop']['name'] = 'log_loop';
$this->_sections['log_loop']['loop'] = is_array($_loop=$this->_tpl_vars['log_files']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['log_loop']['show'] = true;
$this->_sections['log_loop']['max'] = $this->_sections['log_loop']['loop'];
$this->_sections['log_loop']['step'] = 1;
$this->_sections['log_loop']['start'] = $this->_sections['log_loop']['step'] > 0 ? 0 : $this->_sections['log_loop']['loop']-1;
if ($this->_sections['log_loop']['show']) {
    $this->_sections['log_loop']['total'] = $this->_sections['log_loop']['loop'];
    if ($this->_sections['log_loop']['total'] == 0)
        $this->_sections['log_loop']['show'] = false;
} else
    $this->_sections['log_loop']['total'] = 0;
if ($this->_sections['log_loop']['show']):

            for ($this->_sections['log_loop']['index'] = $this->_sections['log_loop']['start'], $this->_sections['log_loop']['iteration'] = 1;
                 $this->_sections['log_loop']['iteration'] <= $this->_sections['log_loop']['total'];
                 $this->_sections['log_loop']['index'] += $this->_sections['log_loop']['step'], $this->_sections['log_loop']['iteration']++):
$this->_sections['log_loop']['rownum'] = $this->_sections['log_loop']['iteration'];
$this->_sections['log_loop']['index_prev'] = $this->_sections['log_loop']['index'] - $this->_sections['log_loop']['step'];
$this->_sections['log_loop']['index_next'] = $this->_sections['log_loop']['index'] + $this->_sections['log_loop']['step'];
$this->_sections['log_loop']['first']      = ($this->_sections['log_loop']['iteration'] == 1);
$this->_sections['log_loop']['last']       = ($this->_sections['log_loop']['iteration'] == $this->_sections['log_loop']['total']);
?>
  
    <div style="display:block;margin-bottom: 8px;">
      <a href="admin_video_utilities.php?task=logfile&file=<?php echo $this->_tpl_vars['log_files'][$this->_sections['log_loop']['index']]['file']; ?>
"><?php echo $this->_tpl_vars['log_files'][$this->_sections['log_loop']['index']]['file']; ?>
</a><br />
      <?php echo sprintf(SELanguage::_get(5500170), $this->_tpl_vars['log_files'][$this->_sections['log_loop']['index']]['size']); ?><br />
      <?php echo sprintf(SELanguage::_get(5500171), $this->_tpl_vars['log_files'][$this->_sections['log_loop']['index']]['type']); ?>
    </div>
  
  <?php endfor; else: ?>
    
    No log files found.
    
  <?php endif; ?>
  
  </div>

<?php elseif ($this->_tpl_vars['task'] == 'logfile'): ?>

  <h2><?php echo SELanguage::_get(5500165); ?></h2>
  <p><?php echo sprintf(SELanguage::_get(5500172), $this->_tpl_vars['log_filename']); ?></p>
  
  <textarea style="width:100%; height:600px;"><?php echo $this->_tpl_vars['log_output']; ?>
</textarea>
  
<?php endif; 
 $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin_footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>